<%=
	tmp = ""
	if(!session["playing"].nil? && session["playing"] && 
	   !session["play_title"].nil?)
		px = session["play_progress"] / 
		     session["play_title"].duration.to_f
		px *= 536
		tmp += "<div id=\"progress_bar_bg_left\">&nbsp;</div>"
		tmp += "<div id=\"progress_bar_bg\">&nbsp;</div>"
		tmp += "<div id=\"progress_bar_impl_left\">&nbsp;</div>"
		tmp += "<div id=\"progress_bar_impl\" 
			style=\"width:#{px}px;\">&nbsp;</div>"
		tmp += "<br/>"
		tmp += session["play_progress"].to_s + "/" + 
			session["play_title"].duration
		tmp += " - " + session["play_title"].name
	end
	tmp
%>

